<?php

namespace App\Models\Personal;
use Illuminate\Foundation\Auth\User as Authenticatable;

class PersonalUser extends Authenticatable{
    //设置表的类型和表名
    protected $table='personal_users';
    protected $primaryKey='uid';
    public $timestamps=false;
    protected $guarded = [];
    //用户和简历一对一关系
    public function user_resume(){
        return $this->hasMany('App\Models\Personal\Resume','uid','uid');
    }

}